package com.jd.platform.gobrs.client.handler;

/**
 * @program: gobrs
 * @ClassName CacheFactory
 * @description: 缓存执行器
 * @author: sizegang
 * @create: 2022-01-08 15:09
 * @Version 1.0
 **/
public interface CacheHandler<T> {

    Integer getType();

    Object getCache(String key);

    boolean setCache(String key, Object value);

    boolean isHotKey(String key);


    void remove(String key);


}
